function [allCfg] = PrachSequenceGen(allCfg)

    prach = allCfg.prach;
    L1 = prach.L1;
    data = prach.data;

    sampleRate = allCfg.cellCfg.sampleRate;

    N_CP = L1.N_CP;
    N_u = L1.N_u;
    symbnum = L1.symbnum;
    symbolPosition = L1.symbolPosition;
    prachSCSIndex = L1.prachSCSIndex;
    prachType = L1.prachType;

    curZCSequenceFFT = data.curZCSequenceFFT;

    if prachType == 0
        prachSequenceMap = [curZCSequenceFFT,zeros(1,N_CP-1)];
    end

    

    prach.data.curZCSequenceFFT = curZCSequenceFFT;
    prach.data.curZCSequenceFFT = curZCSequenceFFT;

    allCfg.prach = prach;
end
